extends "../jiahe-3/jiahe-3.gd"


var baseId = ""
var upText1 = "奇袭额外附带3层<灼烧>"
var upText2 = "攻无不取触发几率+1%"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("造成伤害时，有3%的几率使目标受到[航空*8]的真实伤害", "攻无不取")
var p4 = 3
func onAtkEnd(atkInfo):
	.onAtkEnd(atkInfo)
	if not atkInfo.hitCha.isDeath and sys.rndPer(p4):
		azurHurtChara(atkInfo.hitCha, att.air*8, sys.HurtType.REAL, sys.AtkType.EFF, "攻无不取")

func upgrade():
	.upgrade()
	if upgraded == 1:
		p3 = 6
	if upgraded == 2:
		p4 = 4